package com.ohs.ohsoa.system.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;

@Data
@TableName(value = "notice")
public class NoticeDto {

    @ApiModelProperty(value = "编号")
    @Size(max = 32,message="")
    private List<String> noId;

    @ApiModelProperty(value = "标题")
    @Size(max = 20,message="20桁以下のタイトルを入力してください。")
    private String title;

    @ApiModelProperty(value = "内容")
    private String noticeCon;

    @ApiModelProperty(value = "创建人")
    @Size(max = 32,message="")
    private String insertAid;

    @ApiModelProperty(value = "修改人")
    @Size(max = 32,message="")
    private String updateAid;

    @ApiModelProperty(value = "创建时间")
    private String insertTime;
}